<template>
  <div class="internal">
    <div class="top">
      <van-nav-bar
        :title="text"
        left-text="返回"
        left-arrow
        @click-left="onClickLeft"
        class="border-bottom"
      />
    </div>
  </div>
</template>

<script>
import { NavBar } from "vant";
export default {
  props: {
    text: String,
  },
  data() {
    return {
      cc: "1",
    };
  },
  components: {
    [NavBar.name]: NavBar,
  },
  methods: {
    onClickLeft() {
      this.$router.back();
    },
  },
};
</script>

<style lang="scss" scoped>

</style>
